public class Test {
    // 1.先设计电影类
    //2 创建三个电影对象，封装电影信息
    public static void main(String[] args) {
        Film f1 = new Film("长津湖",8,"吴京");
        Film f2 = new Film("白蛇传",9,"刘涛");
        Film[] films = new Film[2];
        films[0] = f1;
        films[1] = f2;
        for (int i = 0; i < films.length; i++) {
            System.out.println(films[i].getName()+films[i].getActor()+films[i].getRemark());
        }
    }
}
